<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8"
	contentType="text/html;charset=utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>登录</title>
</head>
<body>
	<div id="loginForm">
		<h3>用户登录:</h3>
		<s:form action="login.action">
			<s:textfield name="user.name" label="用户名" />
			<s:textfield name="user.password" label="密码" />
			<s:submit value="登录"/>
		</s:form>
	</div>
	<p><a href="<s:url action='index' />" >主页</a></p>
</body>
</html>